package com.googlecode.imanager.client.io;

import java.io.IOException;

/**
 * @author wellsantos@wellsantos.com
 * @since 0.01
 */
public interface OutputStream {

    void writeByte(int b) throws IOException;
    void writeByte(byte b[]) throws IOException;
    void writeBytes(byte b[], int off, int len) throws IOException;
    
    void writeChar(char b) throws IOException;
    void writeChars(char[] b) throws IOException;
    void writeChars(char[] b, int off, int len) throws IOException;
    
    void writeSequence(CharSequence s) throws IOException;
    void writeSequence(CharSequence s, int start, int end) throws IOException;
    
    void flush() throws IOException;
    void close() throws IOException;

}
